<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String errors="";
	String username=request.getParameter("username");
	String password=request.getParameter("password");
	if(username.equals("1")&&password.equals("1")){	
		response.sendRedirect("iframe.jsp");
	}else{
		response.sendRedirect("login.jsp?errors=true");
	}
%>